package com.mes.device.mapper;

import com.mes.pojo.device.Device;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author 张喆
 * @Company
 * @Description
 * @Time 2024/10/17 18:39
 */
@Mapper
public interface DeviceMapper {
    List<Device> selectAll(Device device);
    Integer insertNewDevice(Device device);
    Device selectByDeviceId(String deviceId);
    Device selectByDeviceName(String deviceName);
    String selectMaxDeviceId();
    Integer updateDevice(Device deviceId);
}
